﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ANZ_AIM_BLL.Model
{
    public class Configuration
    {
         // MASTER_ID in database to find a set of master data
       
        public const string USER_LOGIN_PARAM = "USER_LOGIN_PARAM";
        public const string USER_LOGIN_PARAM__MAX_WRONG_PWD = "PWD_MAX_WRONG";
        public const string USER_LOGIN_PARAM__DAY_REMINDER_PWD = "PWD_DAY_REMINDER";
        public const string USER_LOGIN_PARAM__EXPIRE_AFTER = "PWD_EXPIRE_AFTER";
        public const string SESSION_TIMEOUT_MAX = "SESSION_TIMEOUT";
        public const string LOCK_TIME = "LOCK_TIME";
        public const string MAX_FILE_SIZE_UPLOAD = "MAX_FILE_SIZE_UPLOAD";

        public Configuration()
        {
        }
        public Configuration(string configId, string configValue)
        {
            this.ConfigID = configId;
            this.ConfigValue = configValue;
        }
        public virtual string ConfigID { get; set; }
        public virtual string ConfigValue { get; set; }
        public virtual string Description { get; set; }
        public override int GetHashCode()
        {
            return (this.ConfigID + "|" + this.ConfigValue).GetHashCode();
        }
    }
}
